<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        img {
            width: 150px;
        }

        .bg {
            width: 375px;
            height: 130px;

            background: url(./img/bg@2x.png) no-repeat;
            /* 通过background-size来实现双倍背景图 */
            background-size: 100%;
        }

        .sprite {
            width: 40px;
            height: 40px;
            background: url(./img/home-fivemain-sprite2x@v7.15.png) no-repeat;
            background-size: 40px;
            background-position:0 -80px;
        }
    </style>
</head>
<body>
    <div>
        <img src="./img/mg@1X.jpg" alt="">
        <img src="./img/mg@2X .jpg" alt="" srcset="">

        <!-- 双倍背景图 通过background-size来实现-->
        <div class="bg">

        </div>

        <div class="sprite">

        </div>
    </div>
</body>
</html>